package com.aaa.entity;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * Table: sys_user_online
 */
@Data
public class SysUserOnline implements Serializable {
    /**
     * 用户会话id
     *
     * Table:     sys_user_online
     * Column:    sessionId
     * Nullable:  false
     */
    private String sessionid;

    /**
     * 登录账号
     *
     * Table:     sys_user_online
     * Column:    login_name
     * Nullable:  true
     */
    private String loginName;

    /**
     * 部门名称
     *
     * Table:     sys_user_online
     * Column:    dept_name
     * Nullable:  true
     */
    private String deptName;

    /**
     * 登录IP地址
     *
     * Table:     sys_user_online
     * Column:    ipaddr
     * Nullable:  true
     */
    private String ipaddr;

    /**
     * 登录地点
     *
     * Table:     sys_user_online
     * Column:    login_location
     * Nullable:  true
     */
    private String loginLocation;

    /**
     * 浏览器类型
     *
     * Table:     sys_user_online
     * Column:    browser
     * Nullable:  true
     */
    private String browser;

    /**
     * 操作系统
     *
     * Table:     sys_user_online
     * Column:    os
     * Nullable:  true
     */
    private String os;

    /**
     * 在线状态on_line在线off_line离线
     *
     * Table:     sys_user_online
     * Column:    status
     * Nullable:  true
     */
    private String status;

    /**
     * session创建时间
     *
     * Table:     sys_user_online
     * Column:    start_timestamp
     * Nullable:  true
     */
    private Date startTimestamp;

    /**
     * session最后访问时间
     *
     * Table:     sys_user_online
     * Column:    last_access_time
     * Nullable:  true
     */
    private Date lastAccessTime;

    /**
     * 超时时间，单位为分钟
     *
     * Table:     sys_user_online
     * Column:    expire_time
     * Nullable:  true
     */
    private Integer expireTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table sys_user_online
     *
     * @mbg.generated Mon Jan 06 19:35:03 CST 2020
     */
    private static final long serialVersionUID = 1L;
}